package UMC.Web;

public class UILocateDialog extends UIDialog {

    /**
     * 返回定位坐标
     *
     * @isAddress true返回地址
     */
    public UILocateDialog(boolean isAddress) {
        super();
        if (isAddress) {

            this.config.put("Address", true);// new WebMeta("Name", name, "NO", no));
        }
    }

    public void setAddress(boolean isAddress) {
        if (isAddress) {

            this.config.put("Address", true);// new WebMeta("Name", name, "NO", no));
        } else {
            this.config.remove("Address");
        }
    }

    @Override
    protected String type() {
        return "Locate";
    }

}
